package cn.iocoder.yudao.module.yyzx.controller.admin.service.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 服务关注新增/修改 Request VO")
@Data
public class ServiceSaveReqVO {

    @Schema(description = "id主键", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer id;

    @Schema(description = "备注信息")
    private String remarks;

    @Schema(description = "逻辑删除标记")
    private String delFlag;

    @Schema(description = "老登ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "老登ID不能为空")
    private Integer eldenId;

    @Schema(description = "服务项目ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "服务项目ID不能为空")
    private Integer serviceid;

    @Schema(description = "购买数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "购买数量不能为空")
    private BigDecimal amount;

    @Schema(description = "服务购买日", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "服务购买日不能为空")
    private LocalDateTime buytime;

    @Schema(description = "服务到期日", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "服务到期日不能为空")
    private LocalDateTime maturitytime;

    @Schema(description = "备注")
    private String otherinfo;

}